package HandshakeJoin;

import java.util.List;
import java.util.ArrayList;

public interface DBClient
{
    public boolean init();

    public void close();

    public boolean materialize(Snapshot snapshot);

    public List<ArrayList<Integer>> retrieveByTimestamp(long ts);

    public List<ArrayList<Integer>> retrieveByTimestamp(long tsLower,
            long tsUpper);

    public List<ArrayList<Integer>> retrieveByJoinKey(int val);

    public List<ArrayList<Integer>> retrieveByJoinKey(int valLower, int valUpper);
}